<template>
  <div>
       <div class="sunzi">
            <span>我是孙子组件</span>
            <button @click="clickHandler">点击我给爷爷送3万元</button>
       </div>
  </div>
</template>

<script>
export default {
  name: '',
  methods:{
    clickHandler(){
       //下面事件源:都是Vue类的实例VM，并非VC
       this.$bus.$emit('money',30000);
    }
  }
}
</script>

<style scoped>
 .sunzi{
     width:300px;
     height: 100px;
     background: skyblue;
     margin: 20px 0px;
 }
</style>
